<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2023/4/30
  Time: 17:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" src="/js/jquery.js"></script>
    <script src="js/cloud.js" type="/text/javascript"></script>

    <script language="javascript">
        $(function(){
            $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
            $(window).resize(function(){
                $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
            })
        });
    </script>

</head>

<div class="loginbody">


    <div class="loginbox">
        <form action="/loginServlet" method="post">
            <ul>
                <li>
                    <input name="userName" type="text" class="loginuser" value="admin" />
                </li>
                <li>
                    <input name="password" type="password" class="loginpwd" value="123" />
                </li>
                <li>
                    <input name="" type="submit" class="loginbtn" value="登录" />

                    <label>
                        <c:if test="${not empty sessionScope.msg}">
                            <span style="color: red">${sessionScope.msg}</span>
                        </c:if>
                    </label>
                </li>
            </ul>
        </form>

    </div>

</div>





</body>
</html>
